.class public Lcom/estrongs/android/pop/app/f0$b;
.super Lcom/estrongs/android/pop/app/f0;
.source "PopAudioPlayerWrapper.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/estrongs/android/pop/app/f0;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x9
    name = "b"
.end annotation


# instance fields
.field protected a:Les/uo;

.field protected b:Lcom/estrongs/chromecast/ChromeCastManager;

.field protected c:Lcom/estrongs/android/pop/app/PopAudioPlayer$n0;

.field protected d:Z


# direct methods
.method public constructor <init>()V
    .locals 2

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/f0;-><init>()V

    .line 2
    invoke-static {}, Lcom/estrongs/chromecast/ChromeCastManager;->getInstance()Lcom/estrongs/chromecast/ChromeCastManager;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->b:Lcom/estrongs/chromecast/ChromeCastManager;

    const/4 v1, 0x0

    .line 3
    iput-object v1, p0, Lcom/estrongs/android/pop/app/f0$b;->c:Lcom/estrongs/android/pop/app/PopAudioPlayer$n0;

    const/4 v1, 0x0

    .line 4
    iput-boolean v1, p0, Lcom/estrongs/android/pop/app/f0$b;->d:Z

    .line 5
    invoke-virtual {v0}, Lcom/estrongs/chromecast/ChromeCastManager;->getCurrentPlayListController()Les/uo;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    return-void
.end method


# virtual methods
.method public A()Landroid/graphics/Bitmap;
    .locals 2

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/f0$b;->k()Les/to;

    move-result-object v0

    const/4 v1, 0x0

    if-nez v0, :cond_0

    return-object v1

    .line 2
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {v0}, Les/uo;->d()I

    move-result v0

    if-nez v0, :cond_1

    return-object v1

    .line 3
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {v0}, Les/uo;->a()Les/so;

    move-result-object v0

    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v1

    invoke-virtual {v0, v1}, Les/so;->a(Landroid/content/Context;)Landroid/graphics/Bitmap;

    move-result-object v0

    return-object v0
.end method

.method public a()V
    .locals 1

    .line 2
    invoke-static {}, Lcom/estrongs/android/ui/notification/b;->k()Lcom/estrongs/android/ui/notification/b;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/ui/notification/b;->a()V

    return-void
.end method

.method public a(J)V
    .locals 1

    .line 12
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->b:Lcom/estrongs/chromecast/ChromeCastManager;

    invoke-virtual {v0, p1, p2}, Lcom/estrongs/chromecast/ChromeCastManager;->mediaSeek(J)V

    return-void
.end method

.method public a(Lcom/estrongs/android/pop/app/PopAudioPlayer$n0;)V
    .locals 0

    .line 13
    iput-object p1, p0, Lcom/estrongs/android/pop/app/f0$b;->c:Lcom/estrongs/android/pop/app/PopAudioPlayer$n0;

    return-void
.end method

.method public a(Les/uo;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    return-void
.end method

.method public a(Ljava/util/List;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .line 18
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {v0, p1}, Les/uo;->a(Ljava/util/List;)V

    return-void
.end method

.method public a(Z)V
    .locals 0

    .line 14
    iput-boolean p1, p0, Lcom/estrongs/android/pop/app/f0$b;->d:Z

    if-nez p1, :cond_0

    .line 15
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/f0$b;->a()V

    goto :goto_0

    .line 16
    :cond_0
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/f0$b;->w()V

    :goto_0
    return-void
.end method

.method public a(I)Z
    .locals 8

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {v0, p1}, Les/uo;->a(I)Z

    move-result v0

    if-nez v0, :cond_0

    const/4 p1, 0x0

    return p1

    .line 4
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    const/4 v1, 0x1

    invoke-virtual {v0, p1, v1}, Les/uo;->a(IZ)V

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {v0, p1}, Les/uo;->b(I)Z

    .line 6
    iget-object p1, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {p1}, Les/uo;->a()Les/so;

    move-result-object p1

    iget-object v3, p1, Les/so;->b:Ljava/lang/String;

    .line 7
    iget-object v2, p0, Lcom/estrongs/android/pop/app/f0$b;->b:Lcom/estrongs/chromecast/ChromeCastManager;

    .line 8
    invoke-static {v3, v1}, Lcom/estrongs/android/util/h0;->b(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v4

    .line 9
    invoke-static {v3}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    .line 10
    invoke-static {v3}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/estrongs/android/util/n0;->d(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    iget-object v7, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    .line 11
    invoke-virtual/range {v2 .. v7}, Lcom/estrongs/chromecast/ChromeCastManager;->loadMedia(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Les/uo;)V

    return v1
.end method

.method public a(Les/to;)Z
    .locals 1

    .line 17
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {v0, p1}, Les/uo;->a(Les/to;)Z

    move-result p1

    return p1
.end method

.method public b()Landroid/graphics/Bitmap;
    .locals 2

    .line 2
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/f0$b;->A()Landroid/graphics/Bitmap;

    move-result-object v0

    if-nez v0, :cond_0

    .line 3
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/FexApplication;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f08076c

    invoke-static {v0, v1}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    :cond_0
    return-object v0
.end method

.method public b(Ljava/util/List;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Les/so;",
            ">;)V"
        }
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {v0, p1}, Les/uo;->b(Ljava/util/List;)V

    return-void
.end method

.method public b(I)Z
    .locals 2

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {v0}, Les/uo;->n()Z

    move-result v0

    if-nez v0, :cond_0

    const/4 p1, 0x0

    return p1

    :cond_0
    if-gez p1, :cond_1

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {v0}, Les/uo;->l()V

    .line 6
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {v0, p1}, Les/uo;->b(I)Z

    .line 7
    iget-object p1, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {p1}, Les/uo;->d()I

    move-result p1

    const/4 v0, 0x1

    if-nez p1, :cond_2

    .line 8
    iget-object p1, p0, Lcom/estrongs/android/pop/app/f0$b;->c:Lcom/estrongs/android/pop/app/PopAudioPlayer$n0;

    if-eqz p1, :cond_2

    const/4 v1, -0x1

    .line 9
    invoke-interface {p1, v1}, Lcom/estrongs/android/pop/app/PopAudioPlayer$n0;->e(I)V

    :cond_2
    return v0
.end method

.method public c()Ljava/lang/String;
    .locals 2

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/f0$b;->k()Les/to;

    move-result-object v0

    const/4 v1, 0x0

    if-nez v0, :cond_0

    return-object v1

    .line 2
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {v0}, Les/uo;->d()I

    move-result v0

    if-nez v0, :cond_1

    return-object v1

    .line 3
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {v0}, Les/uo;->a()Les/so;

    move-result-object v0

    iget-object v0, v0, Les/so;->g:Ljava/lang/String;

    if-nez v0, :cond_2

    .line 4
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v0

    const v1, 0x7f110165

    invoke-virtual {v0, v1}, Landroid/app/Application;->getString(I)Ljava/lang/String;

    move-result-object v0

    :cond_2
    return-object v0
.end method

.method public c(I)V
    .locals 1

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {v0, p1}, Les/uo;->c(I)V

    return-void
.end method

.method public d()J
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->b:Lcom/estrongs/chromecast/ChromeCastManager;

    invoke-virtual {v0}, Lcom/estrongs/chromecast/ChromeCastManager;->getMediaStreamDuration()J

    move-result-wide v0

    return-wide v0
.end method

.method public d(I)V
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {v0, p1}, Les/uo;->d(I)V

    return-void
.end method

.method public e()Les/so;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {v0}, Les/uo;->a()Les/so;

    move-result-object v0

    return-object v0
.end method

.method public f()J
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->b:Lcom/estrongs/chromecast/ChromeCastManager;

    invoke-virtual {v0}, Lcom/estrongs/chromecast/ChromeCastManager;->getMediaStreamPosition()J

    move-result-wide v0

    return-wide v0
.end method

.method public g()I
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {v0}, Les/uo;->b()I

    move-result v0

    return v0
.end method

.method public h()Ljava/lang/String;
    .locals 2

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/f0$b;->k()Les/to;

    move-result-object v0

    const/4 v1, 0x0

    if-nez v0, :cond_0

    return-object v1

    .line 2
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {v0}, Les/uo;->d()I

    move-result v0

    if-nez v0, :cond_1

    return-object v1

    .line 3
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {v0}, Les/uo;->a()Les/so;

    move-result-object v0

    iget-object v0, v0, Les/so;->e:Ljava/lang/String;

    if-eqz v0, :cond_2

    const-string v1, ""

    .line 4
    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_2

    return-object v0

    .line 5
    :cond_2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {v0}, Les/uo;->a()Les/so;

    move-result-object v0

    iget-object v0, v0, Les/so;->b:Ljava/lang/String;

    invoke-static {v0}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public i()I
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {v0}, Les/uo;->e()I

    move-result v0

    return v0
.end method

.method public j()Les/uo;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    return-object v0
.end method

.method public k()Les/to;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {v0}, Les/uo;->f()Les/to;

    move-result-object v0

    return-object v0
.end method

.method public l()Ljava/lang/String;
    .locals 3

    .line 1
    :try_start_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {v0}, Les/uo;->f()Les/to;

    move-result-object v0

    invoke-virtual {v0}, Les/to;->b()Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_0

    .line 2
    iget-object v1, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {v1}, Les/uo;->f()Les/to;

    move-result-object v1

    invoke-virtual {v1}, Les/to;->c()I

    move-result v1

    const/4 v2, -0x1

    if-eq v1, v2, :cond_0

    .line 3
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/app/Application;->getString(I)Ljava/lang/String;

    move-result-object v0
    :try_end_0
    .catch Ljava/lang/NullPointerException; {:try_start_0 .. :try_end_0} :catch_0

    :cond_0
    return-object v0

    :catch_0
    const/4 v0, 0x0

    return-object v0
.end method

.method public m()I
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {v0}, Les/uo;->h()I

    move-result v0

    return v0
.end method

.method public n()I
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {v0}, Les/uo;->i()I

    move-result v0

    return v0
.end method

.method public o()I
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {v0}, Les/uo;->j()I

    move-result v0

    return v0
.end method

.method public p()I
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {v0}, Les/uo;->k()I

    move-result v0

    return v0
.end method

.method public q()Z
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->b:Lcom/estrongs/chromecast/ChromeCastManager;

    invoke-virtual {v0}, Lcom/estrongs/chromecast/ChromeCastManager;->getMediaPlayerState()I

    move-result v0

    const/4 v1, 0x3

    if-ne v0, v1, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method public r()Z
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->b:Lcom/estrongs/chromecast/ChromeCastManager;

    invoke-virtual {v0}, Lcom/estrongs/chromecast/ChromeCastManager;->getMediaPlayerState()I

    move-result v0

    const/4 v1, 0x1

    if-eq v0, v1, :cond_0

    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->b:Lcom/estrongs/chromecast/ChromeCastManager;

    .line 2
    invoke-virtual {v0}, Lcom/estrongs/chromecast/ChromeCastManager;->getMediaPlayerState()I

    move-result v0

    if-eqz v0, :cond_0

    goto :goto_0

    :cond_0
    const/4 v1, 0x0

    :goto_0
    return v1
.end method

.method public s()Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public t()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->b:Lcom/estrongs/chromecast/ChromeCastManager;

    invoke-virtual {v0}, Lcom/estrongs/chromecast/ChromeCastManager;->mediaPause()V

    return-void
.end method

.method public u()Z
    .locals 8

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    invoke-virtual {v0}, Les/uo;->a()Les/so;

    move-result-object v0

    iget-object v2, v0, Les/so;->b:Ljava/lang/String;

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->b:Lcom/estrongs/chromecast/ChromeCastManager;

    invoke-virtual {v0}, Lcom/estrongs/chromecast/ChromeCastManager;->getMediaPlayerState()I

    move-result v0

    const/4 v7, 0x1

    const/4 v1, 0x3

    if-eq v0, v1, :cond_0

    .line 3
    iget-object v1, p0, Lcom/estrongs/android/pop/app/f0$b;->b:Lcom/estrongs/chromecast/ChromeCastManager;

    .line 4
    invoke-static {v2, v7}, Lcom/estrongs/android/util/h0;->b(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v3

    .line 5
    invoke-static {v2}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    .line 6
    invoke-static {v2}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/util/n0;->d(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    iget-object v6, p0, Lcom/estrongs/android/pop/app/f0$b;->a:Les/uo;

    .line 7
    invoke-virtual/range {v1 .. v6}, Lcom/estrongs/chromecast/ChromeCastManager;->loadMedia(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Les/uo;)V

    goto :goto_0

    .line 8
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->b:Lcom/estrongs/chromecast/ChromeCastManager;

    invoke-virtual {v0}, Lcom/estrongs/chromecast/ChromeCastManager;->mediaPlay()V

    :goto_0
    return v7
.end method

.method public v()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/f0$b;->b:Lcom/estrongs/chromecast/ChromeCastManager;

    invoke-virtual {v0}, Lcom/estrongs/chromecast/ChromeCastManager;->mediaPlay()V

    return-void
.end method

.method public w()V
    .locals 1

    .line 1
    invoke-static {}, Lcom/estrongs/android/ui/notification/b;->k()Lcom/estrongs/android/ui/notification/b;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/ui/notification/b;->i()V

    return-void
.end method

.method public x()Z
    .locals 1

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/f0$b;->u()Z

    move-result v0

    return v0
.end method

.method public y()V
    .locals 0

    return-void
.end method

.method public z()V
    .locals 0

    return-void
.end method
